﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master"  CodeBehind="AdvertResponses.aspx.cs" Inherits="iss.sg4210.se18.team6s.jass.Reports.Forms.AdvertResponses" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
   Advert Responses Report
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

    <div>
    
    
        Total Number of Responses per Advertisement</div>


    <div style="height: 72px">
    
        <br />
        <table style="width:34%;">
            <tr>
                <td class="style1">
                    Advertiser</td>
                <td class="style2">
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="162px">
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Submit" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        <br />
        <br />
        <br />
    
    </div>

        <div style="height: 72px">
    
        <br />
            <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
                Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
                WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="668px">
                <LocalReport ReportPath="AdvertResponsesReport.rdlc">
                    <DataSources>
                        <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" 
                            Name="AdvertResponsesDataSet" />
                    </DataSources>
                </LocalReport>
            </rsweb:ReportViewer>
            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                SelectMethod="GetData" 
                TypeName="iss.sg4210.se18.team6s.jass.Reports.AdvertResponsesDataSetTableAdapters.vw_TotalAdvertResponsesTableAdapter">
            </asp:ObjectDataSource>
        <br />
        <br />
        <br />
    
    </div>

</asp:Content>